3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides routines that you can use to manage picking ID styles.
You can use the Q3PickIDStyle_New function to create a new picking ID style object.
TQ3StyleObject Q3PickIDStyle_New (unsigned long id);
The Q3PickIDStyle_New function returns, as its function result, a new style object having the picking ID specified by the id parameter. If a new style object could not be created, Q3PickIDStyle_New returns the value NULL .
See "Picking ID Styles" for a description of picking ID styles.
You can use the Q3PickIDStyle_Submit function to submit a picking ID style in immediate mode.
TQ3Status Q3PickIDStyle_Submit (
unsigned long id,
TQ3ViewObject view);
You can use the Q3PickIDStyle_Get function to get the picking ID style value of a picking ID style.
TQ3Status Q3PickIDStyle_Get (
TQ3StyleObject pickIDObject,
unsigned long *id);
You can use the Q3PickIDStyle_Set function to set the picking ID of a picking ID style.
TQ3Status Q3PickIDStyle_Set (
TQ3StyleObject pickIDObject,
unsigned long id);
Previous | QD3D Book | Overview | Chapter Contents | Next |